package erp.server.organization.mapper;

import erp.server.organization.pojo.dto.OrganizationQueryParam;
import erp.server.organization.pojo.entity.Organization;
import erp.server.organization.pojo.vo.OrganizationVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrganizationMapper {
    //创建组织
    void insert(Organization organization);

    //查询组织信息
    List<OrganizationVO> select(OrganizationQueryParam organizationQueryParam);

    //修改组织信息
    void update(Organization organization);

    //删除组织
    void deleteByOrganizationId(Integer id);
}
